/**
 * 
 */
package edu.pw.treegrid.server.model;

import java.util.LinkedList;
import java.util.List;

import edu.pw.treegrid.server.message.Path;

/** 
 * @author Piotrek
 */
public class DomainObject {

	private List<DomainField> domainField = new LinkedList<DomainField>();

	public List<DomainField> getDomainField() {
		return domainField;
	}

	public void addDomainField(DomainField df) {
		domainField.add(df);
	}	
	
	private Path path;
	private Path parentPath;
	private String name;
	private String imageSrc;
	private boolean isFolder;
	
	public Path getPath() {
		return path;
	}

	public void setPath(Path path) {
		this.path = path;
	}

	public Path getParentPath() {
		return parentPath;
	}

	public void setParentPath(Path parentPath) {
		this.parentPath = parentPath;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImageSrc() {
		return imageSrc;
	}

	public void setImageSrc(String imageSrc) {
		this.imageSrc = imageSrc;
	}

	public boolean isFolder() {
		return isFolder;
	}

	public void setFolder(boolean isFolder) {
		this.isFolder = isFolder;
	}

}